package entity;

public class Dto {

    /**
     * 200 成功
     * 502 用户名错误
     * 502 用户未登录
     * 503 参数错误
     * 。。。。。
     */
    private int code;
    private Object data;
    private String msg;


    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Dto(int code, Object data, String msg) {
        this.code = code;
        this.data = data;
        this.msg = msg;
    }

    public Dto() {
    }
}
